package com.foreknow.dao;

import com.foreknow.model.Admin;

import java.sql.SQLException;

public interface AdminDao {
    /**
     * 获取管理员用户名，密码
     * @param adminName
     * @param password
     * @return
     * @throws SQLException
     */
    public Admin getNamePassword(String adminName,String password) throws SQLException;
}
